﻿using System;
using System.Collections.Generic;
using System.Text;
using Vara.Location;
using Vara.Person;

namespace Vara.Asset
{
    public interface IAssetActions
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="asset"></param>
        void InsertAsset(IAsset asset);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="asset"></param>
        void UpdateAsset(IAsset asset);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="Asset"></param>
        void DeleteAsset(IAsset asset);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        IAsset ReturnAsset(int id);

        /// <summary>
        /// 
        /// </summary>
        void Refresh_Assets_List();

        /// <summary>
        /// 
        /// </summary>
        List<IAsset> Assets { get; }

    }
}
